package com.frame.pageform.upload;

import java.util.*;

public class CosFileLoader {

	private Map parameterMap=new HashMap();
	private Map fileMap=new HashMap();;

	public CosFileLoader(){

	}
	public void addParameter(String fileName,String value){
		List list=(List)parameterMap.get(fileName);
		if(list==null)
			list=new ArrayList();
		list.add(value);
		parameterMap.put(fileName, list);
	}
	public void addFiles(String fileName,PageFile value){
		List list=(List)fileMap.get(fileName);
		if(list==null)
			list=new ArrayList();
		list.add(value);
		fileMap.put(fileName, list);
	}
	public Map getFileMap() {
		return fileMap;
	}
	public Map getParameterMap() {
		return parameterMap;
	}

}
